Package-level declarations

Types

Link copied to clipboard
open class Mpc(api: Api, apiKey: String, keychain: MobileStorageAdapter, mpc: PortalMobileMpc, apiHost: String = "api.portalhq.io", featureFlags: FeatureFlags? = null, host: String = "mpc.portalhq.io", version: String = "v6")

Mpc is a class that handles Multi-Party Computation (MPC) operations, providing functionality for generating, backing up, recovering, and ejecting private keys for various blockchain networks. It interacts with an external API, a local keychain, and various cloud storage adapters to manage cryptographic shares securely.

Link copied to clipboard
open class PortalMobileMpc

PortalMobileMpc is a class that provides an interface to interact with the MPC (Multi-Party Computation) binary included in the mpc.aar file. It offers functionalities for managing Ed25519 and Secp256k1 wallets, including generation, backup, recovery, signing, encryption, decryption, and other utility methods.

Link copied to clipboard

PortalMobileMpcEnclave is an implementation of PortalMobileMpc that handles signing requests using a remote MPC (Multi-Party Computation) enclave which runs the MPC code in a secure AWS Nitro Enclave with the same non-custodial guarantees as client-side MPC. It communicates